package com.excerise.object;

import com.excerise.object.entity.Demo;
import com.excerise.object.entity.Dog;

/**
 *
 *
 * @author Way on 2021/7/30
 */
public class Test {
    public static void main(String[] args) {
        //Demo demo = new Demo("张三", 20);
        Dog dog = new Dog("张三", 3);
        dog.info();
        System.out.println("dog.hasCode() = " + dog.hashCode());
    }
}
